/*
 * CMutexUtils.h
 *
 *  Created on: 2011-9-15
 *      Author: stargui
 */

#ifndef CMUTEXUTILS_H_
#define CMUTEXUTILS_H_
#include <pthread.h>

class CMutexUtils
{
public:
	CMutexUtils();

	virtual ~CMutexUtils();
public:

	void ThreadLock();

	void ThreadUnlock();

private:

	pthread_mutex_t _mutex;

};

#endif /* CMUTEXUTILS_H_ */
